package edu.sctu.renpingan.day20150510.texttwo;

/**
 * Created by user18 on 2015/5/10.
 */
public class TextThere {

    public static void main(String[] args) {



            TextTwo text = new TextTwo();
            text = text;
            text.setage(10) ;
            text.setname("张三");
            text.setsex("男");

            TextTwo text1 = new TextTwo();
            text1 = text1;
            text1.setage(25) ;
            text1.setname("李四");
            text1.setsex("男");

            TextTwo text2 = new TextTwo();
            text2 = text2;
            text2.setage(20) ;
            text2.setname("王五");
            text2.setsex("女");
            TextTwo[] textTwos = {text,text1,text2};
TextOne textOne = new TextOne();
        textOne.show(textTwos);
    }
}
